home *** CD-ROM | disk | FTP | other *** search
- this.cHeartPar = function(x, y, s)
- {
- var t = this;
- var i = 0;
- while(i < 20)
- {
- t.attachMovie("hPar","hp" + t.hd,t.hd);
- var n = t["hp" + t.hd];
- n._x = x;
- n._y = y;
- n._rotation = random(360);
- n._xscale = n._yscale = (random(80) + 10) * s / 100;
- n.gotoAndPlay(random(10) + 1);
- n.graphic.graphic._xscale = n.graphic.graphic._yscale = random(100) + 100;
- n.graphic.graphic._rotation = random(360);
- t.addD("h");
- i++;
- }
- };
- this.cTremor = function(x, y)
- {
- var t = this;
- t.attachMovie("tremor","t" + t.trd,t.trd);
- var n = t["t" + t.trd];
- n._x = x;
- n._y = y;
- t.addD("tr");
- };
-